Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hia 623 person search by pnc #358

Merged
merged 3 commits into from
Jan 31, 2024
Merged

Conversation

popey2700
Copy link
Contributor

Context

This PR is for adding PNC search functionality to our initial entry persons endpoint. This endpoint uses Prisoner and Probation Offender search to return persons information. Complexity is around the Prisoner endpoint which cannot be queried using PNC number only Probation offender search can be queried with PNC.

As a result we take the response from Probation offender search and use the CRN provided to query the Prisoner search.

Changes proposed in this PR

  • Added PNC search functionality to our persons endpoint

@popey2700 popey2700 merged commit 4d87385 into main Jan 31, 2024
1 check passed
@popey2700 popey2700 deleted the HIA-623-person-search-by-pnc-id branch January 31, 2024 14:45
popey2700 added a commit that referenced this pull request Feb 2, 2024
* Updated getPersons to be queried on a pnc number

* Updated tests
popey2700 added a commit that referenced this pull request Feb 2, 2024
* Updated getPersons to be queried on a pnc number

* Updated tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants